package com.yupu.springboot_web.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yupu.springboot_web.domain.TRole;

import java.util.List;

/**
* @author lenovo
* @description 针对表【t_role(角色表)】的数据库操作Mapper
* @createDate 2025-03-19 15:14:24
* @Entity generator.domain.TRole
*/
public interface TRoleMapper extends BaseMapper<TRole> {
    int deleteByPrimaryKey(Integer id);

    int insert(TRole record);

    int insertSelective(TRole record);

    TRole selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TRole record);

    int updateByPrimaryKey(TRole record);

    List<TRole> selectByUserId(Integer userId);
}




